<div class="divFormFieldLabel">{$content.label|htmlentities}</div>
<div class="divFormField">
	<select name="obj[{$obj.obj_id}][{$content.fieldname}][day]" id="{$content.fieldname}_day" size="1" class="date_selectbox">
		{foreach name="valueloop" from=$content.days item=value}
			<option value="{$value}" {if $value== $content.selected_day}selected="selected"{/if}>{$value}</option>
		{/foreach}		
	</select>	
	<select name="obj[{$obj.obj_id}][{$content.fieldname}][month]" id="{$content.fieldname}_month" size="1"  class="date_selectbox">
		{foreach name="valueloop" from=$content.months item=value}
			<option value="{$value}" {if $value== $content.selected_month}selected="selected"{/if}>{$value}</option>
		{/foreach}		
	</select>	
	<input type="text" name="obj[{$obj.obj_id}][{$content.fieldname}][year]" id="obj_{$obj.obj_id}_{$content.fieldname}_year" value="{if $content.selected_year != "1970"}{$content.selected_year}{else}{$smarty.now|date_format:"%Y"}{/if}" class="date" />
</div>
<div class="clear"></div>